<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<header>
 <nav class="navbar navbar-default navbar-static-top" role="navigation">
        <div class="navbar-header"><a class="navbar-brand" href="#">${mallName }商城后台管理</a></div>
        <ul class="nav navbar-top-links navbar-right">
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                    <i class="fa fa-user fa-fw"></i>
                    <i class="fa fa-caret-down"></i>
                </a>
                <ul class="dropdown-menu dropdown-user">
                    <li>
                        <%-- <a href="#">
                            <i class="fa fa-user fa-fw"></i>
                           ${mallName }
                        </a> --%>
                        <a onclick="javascript:location.href='${webPath}/logout'">
                            <i class="fa fa-sign-out fa-fw"></i>
                            	退出
                        </a>
                    </li>
                </ul>
            </li>
        </ul>
        <div class="navbar-default sidebar" role="navigation">
            <div class="sidebar-nav navbar-collapse">
                <ul class="nav" id="side-menu">
                	<li>
                        <a href="#">
                            <i class="fa fa-home fa-fw"></i>
                            商城管理
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
                            <li><a href="${webPath}toMall">商城列表</a></li>
                            <li><a href="${webPath}toMallBanner">轮播列表</a></li>
                            <li><a href="${webPath}toAdvertisement">多样化广告区列表</a></li>
                            <li><a href="${webPath}toHostProduct">人气商品管理</a></li>
                        </ul>
                    </li>
                	<li>
                        <a href="#">
                            <i class="fa fa-fw fa-user"></i>
                            用户管理
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
                            <li><a href="${webPath}toUser">用户列表</a></li>
                            <%-- <li><a href="${webPath}toPartner">总代理列表</a></li> --%>
                        </ul>
                    </li>
                    <%-- <li>
                        <a href="#">
                            <i class="fa fa-fw fa-sitemap"></i>
                            粉丝管理
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
                            <li><a href="${webPath}toFans">粉丝列表</a></li>
                        </ul>
                    </li> --%>
                    <%-- <li>
                        <a href="#">
                            <i class="fa fa-envelope-square fa-fw"></i>
                            红包管理
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
                            <li><a href="${webPath}toCashRed">红包列表</a></li>
                        </ul>
                    </li> --%>
                    <li>
                        <a href="#">
                            <i class="fa fa-gift fa-fw"></i>
                            商品管理
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
                        	<li><a href="${webPath}toSeller">供应商管理</a></li>
                            <li><a href="${webPath}toCategory">商品类型管理</a></li> 
                            <li><a href="${webPath}toProduct">商品列表</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#">
                            <i class="fa fa-file-text fa-fw"></i>
                            订单管理
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
                        	<c:forEach var="item" items="${mallList}" varStatus="status">
                   				<%-- <li><a href="${webPath}toOrder/${item.mallUuid}">订单监控-${item.mallName}商城</a></li> --%>
		                    	<li><a href="${webPath}toOrder/${item.mallUuid}">${item.mallName}订单</a></li>
		                    </c:forEach>
                        </ul>
                    </li>
                    <li>
                     	<a href="#">
                            <i class="fa fa-file-text fa-fw"></i>
                          退货管理
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
		                    	<li><a href="${webPath}toOrderProductRefund">退款订单</a></li>
                        </ul>
                    </li>
                    <li>
                     	<a href="#">
                            <i class="fa fa-file-text fa-fw"></i>
                          评价管理
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
		                    	<li><a href="${webPath}toDiscuss">评价列表</a></li>
                        </ul>
                    </li>
                    <%-- <li>
                     	<a href="#">
                            <i class="fa fa-file-text fa-fw"></i>
                          回购管理
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
		                    	<li><a href="${webPath}toBuyBack">回购列表</a></li>
                        </ul>
                    </li> --%>
                    <li>
                        <a href="#">
                            <i class="fa fa-fw fa-unlock-alt"></i>
                            财务管理
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
                            <li><a href="${webPath}toMoney">提现列表</a></li>
                            <li><a href="${webPath}toSellerReward">供应商提现列表</a></li>
                        </ul>
                    </li>
                    <li>
                     	<a href="#">
                            <i class="fa fa-file-text fa-fw"></i>
                        申请管理
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
                        		<li><a href="${webPath}toAddProduct">微店个人商品申请列表</a></li>
                        		<li><a href="${webPath}toApplyPartner">合伙人申请列表</a></li>
		                    	<li><a href="${webPath}toUnion">联盟商家申请列表</a></li>
		                    	<li><a href="${webPath}toLevel">区域代理申请列表</a></li>
                        </ul>
                    </li><li>
                     	<a href="#">
                            <i class="fa fa-file-text fa-fw"></i>
                          消费管理
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
		                    	<li><a href="${webPath}toUnionConsume">消费列表</a></li>
                        </ul>
                    </li>
                    <%-- <li>
                        <a href="#">
                            <i class="fa fa-gift fa-fw"></i>
                            奖励机制管理
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
                            <li><a href="${webPath}toIncentiveSystem">奖励机制列表</a></li>
                        </ul>
                    </li> --%>
					<li>
                        <a href="#">
                            <i class="fa fa-fw fa-pencil"></i>
                           账号管理
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
                        	<li><a href="${webPath}toManagerAdd">添加账号</a></li>
                            <li><a href="${webPath}toManager">账号列表</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
</header>     
